@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-12">
            <div class="col-md-3">
                <div class="panel panel-default">
                    <div class="panel-heading">用户数据</div>

                    <div class="panel-body">
                        <p>用户总数为 {{ $userCount }}</p>
                        <p>用户绑定数量为 {{ $bindCount }}</p>
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                <div class="panel panel-default">
                    <div class="panel-heading">留言数据</div>

                    <div class="panel-body">
                        @foreach($heatMessages as $heatMessage)
                            <p>"{{ $heatMessage->content }}" 留言了 {{ $heatMessage->count }} 次</p>
                        @endforeach
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                <div class="panel panel-default">
                    <div class="panel-heading">维护数据</div>

                    <div class="panel-body">
                        <p>总共预约维护数量为 {{ $repairCount }}</p>
                        <p>总共已解决预约维护数量为 {{ $repairSolveCount }}</p>
                        <p>总共未解决预约维护数量为 {{ $repairUnSolveCount }}</p>
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                <div class="panel panel-default">
                    <div class="panel-heading">失物数据</div>

                    <div class="panel-body">
                        <p>总共招领数量为 {{ $lostCount }}</p>
                        <p>总共招领模板已通知 {{ $lostPublishCount }} 人</p>
                        <p>膳管总共完成招领 {{ $lostFinishCount }} 条</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="app"></div>
</div>
@endsection

@section('js')

@endsection
